export const decorator = {
  'taskName': [
    'taskName',
    {
      rules: [
        { required: true, message: '请输入真实姓名0！' },
        // { pattern: /^[0-9]*$/, message: '格式不正确' },
        { transform: (v) => v && String(v).replace(/(^\s*)|(\s*$)/g, ''), max: 10, message: '超过最大长度0' }
      ],
      validateFirst: true
    }
  ],
  'taskName1': [
    'taskName1',
    {
      rules: [
        { required: true, message: '请输入真实姓名0！' },
        { pattern: /^[0-9]*$/, message: '邮箱格式不正确！' },
        { transform: (v) => v && String(v).replace(/(^\s*)|(\s*$)/g, ''), max: 10, message: '超过最大长度0' }
      ],
      validateFirst: true
    }
  ],
  'taskName2': [
    'taskName2',
    {
      rules: [
        { required: true, message: '请输入真实姓名0！' },
        { transform: (v) => v && String(v).replace(/(^\s*)|(\s*$)/g, ''), max: 10, message: '超过最大长度0' }
      ],
      validateFirst: true
    }
  ],
  'taskName3': [
    'taskName3',
    {
      rules: [
        { required: true, message: '请输入真实姓名0！' },
        { transform: (v) => v && String(v).replace(/(^\s*)|(\s*$)/g, ''), max: 10, message: '超过最大长度0' }
      ],
      validateFirst: true
    }
  ],
  'taskName4': [
    'taskName4',
    {
      rules: [
        { required: true, message: '请输入真实姓名0！' }
      ],
      validateFirst: true
    }
  ],
  'taskName5': [
    'taskName5',
    {
      rules: [
        { required: true, message: '请输入真实姓名0！' }
      ],
      validateFirst: true
    }
  ],
  'taskName6': [
    'taskName6',
    {
      rules: [
        { required: true, message: '请输入真实姓名0！' }
      ],
      validateFirst: true
    }
  ],
  'taskName7': [
    'taskName7',
    {
      rules: [
        { required: false, message: '请输入真实姓名0！' }
      ]
    }
  ]
}
